package by.grsu.crs.model;

public class Payment {
	private int id;
	private Order order;
	private String notice;
	private int total;
	private Status status;
	
	public Payment(int id, Order order, String notice, int total,
			Status status) {
		super();
		this.id = id;
		this.order = order;
		this.notice = notice;
		this.total = total;
		this.status = status;
	}
	
	public Payment(Order order, String notice, int total,
			Status status) {
		super();
		this.order = order;
		this.notice = notice;
		this.total = total;
		this.status = status;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public String getNotice() {
		return notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public Status getStatus() {
		return status;
	}

	public void setStatus(Status status) {
		this.status = status;
	}

	public int getId() {
		return id;
	}
}
